//
//  TimeAlertView.h
//  Growkin
//
//  Created by haohao on 2017/1/17.
//  Copyright © 2017年 万浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TimeAlertView;
@protocol TimeAlertViewDelegate <NSObject>

- (void)pickerView:(TimeAlertView *)alertView clickedButtonWithDate:(NSString *)date;

@end

@interface TimeAlertView : UIView

@property (nonatomic, assign) id<TimeAlertViewDelegate>delegate;

@property (nonatomic, copy) NSString *year;

@property (nonatomic, copy) NSString *month;

@property (nonatomic, copy) NSString *dateString;

@property (nonatomic, copy) NSString *nowYear;

- (void)show;

- (void)dismiss;


@end
